import { get, post } from '@/utils/http'
import config from '@/config/api'

// 总记录数
export const getNowPlayingCount = () => get(config.nowplayingcount)

// 获取正在热映列表数据
export const getNowPlayingList = (page = 1) => get(config.nowplaying + page)

// 添加电影数据
export const addNowPlayingFilm = data => post(config.nowplaying, data)
